import Vue from "vue";
import VueRouter from "vue-router";

//homepage主页的全部页面
import All from "../views/All.vue";
//我的账户里的账号转账
import Accounts from "../views/Accounts.vue";
//一键绑卡详情页
import Binding from "../views/Binding.vue";
//基金超市
import BulkDensity from "../views/BulkDensity.vue";
//一键绑卡
import CardBinding from "../views/CardBinding.vue";
//我的账户借记卡
import DebitCard from "../views/DebitCard.vue";
//债市宝
import Debt from "../views/Debt.vue";
//存款
import Depost from "../views/Depost.vue";
//月度账单
import MonthlyStatement from "../views/MonthlyStatement.vue"
// import HomeView from "../views/HomeView.vue";
// 基金定投
import Invest from "../views/Invest.vue";
// 登录
import Enroll from "../views/Enroll.vue";
// 登录
import Longin from "../views/Longin.vue";
// 绑定银行卡管理
import Management from "../views/Management.vue";
// 未绑定银行卡管理
import ManaNo from "../views/ManaNo.vue";
// 我的
import My from "../views/My.vue";
// 转账结果
import Operator from "../views/Operator.vue";
// 修改密码
import Password from "../views/Password.vue";
//基金搜索
import FundSearch from "../views/FundSearch.vue";

// 手机充话费
import recharge from "../views/Recharge.vue";
// 充话费支付
import Recharge1 from "../views/Recharge1.vue";
// 筛选
import Refer from "../views/Refer.vue";
// 注册2
import Register from "../views/Register.vue";
// 注册1
import Register1 from "../views/Register1.vue";
// 我的基金
import MyFund from "../views/MyFund.vue";
//我的基金-交易详情
import TradingParticulars from "../views/TradingParticulars.vue";
//
import Fund from "../views/fund.vue";
// 明细查询2
import particulars from "../views/particulars.vue"

//信息中心
import Message from "../views/Message.vue";
//扫一扫
import RichScan from "../views/RichScan.vue";

//操作成功
import win from "../views/win.vue";
//首发基金
import vieww from "../views/vieww.vue";
//转账
import Transfer from "../views/Transfer.vue"
//确认信息
import Transfer1 from "../views/Transfer1.vue"
//手机号转账
import Transfer2 from "../views/Transfer2.vue"
//优选基金
import Transfer3 from "../views/Transfer3.vue"
//手机号 转账
import TransferA from "../views/TransferA.vue"
//修改登陆密码
import ResetLogin from "../views/ResetLogin.vue"
//重置登录密码
import Reset from "../views/Reset.vue"
// 理财产品
import products from "../views/Products.vue"
// 排行榜
import ranking from "../views/Ranking.vue"
// 借记卡详情
import Debitcarddetails from "../views/Debitcarddetails.vue"
// 借记卡挂失
import ReportLoss from "../views/ReportLoss.vue"
// 销户
import CancellationY from "../views/CancellationY.vue"
// 挂失成功
import ReportOk from "../views/ReportOk.vue"
// 销户成功
import Closing  from "../views/Closing.vue"
//网点服务
import Branch from "../views/Branch.vue";
// 普通定投
import OrdinaryInvestment from "../views/OrdinaryInvestment.vue";
// 我的定投
import MyAutomatic from "../views/MyAutomatic.vue"


//银行卡管理
import Detailpage from "../views/Detailpage.vue";
//持仓收益
import earnings from "../views/earnings.vue";
//基金详情
import funddetails from "../views/funddetails.vue";
//基金
import fund from "../views/fund.vue";
//首页
import homepage from "../views/homepage.vue";
//定活互转
import interrevolution from "../views/interrevolution.vue";
//活期转定期
import interrevolution1 from "../views/interrevolution1.vue";
//活期转定期2
import interrevolution2 from "../views/interrevolution2.vue";
//明细查询
import detail from "../views/detail.vue";
//小额免密支付
import mianmi from "../views/mianmi.vue";
// 轻盈投
import PayofFcast from "../views/PayofFcast.vue"
// 网点查询
import Condition from "../views/Condition.vue"
Vue.use(VueRouter);

const routes = [
  //主页的全部页面
  {
    path: "/All",
    name: "All",
    component: All,
  },
  // 轻盈投
  {
    path:"/PayofFcast",
    name:"PayofFcast",
    component:PayofFcast
  },
  //我的账户里的账号转账
  {
    path: "/Accounts",
    name: "Accounts",
    component: Accounts,
  },
  //一键绑卡详情页
  {
    path: "/Binding",
    name: "Binding",
    component: Binding,
  },
  //基金超市
  {
    path: "/BulkDensity",
    name: "BulkDensity",
    component: BulkDensity,
  },
  {
    path: "/Fund",
    name: "Fund",
    component: Fund,
  },
  //一键绑卡
  {
    path: "/CardBinding",
    name: "CardBinding",
    component: CardBinding,
  },
  //我的账户借记卡
  {
    path: "/DebitCard",
    name: "DebitCard",
    component: DebitCard,
  },
  //债市宝
  {
    path: "/Debt",
    name: "Debt",
    component: Debt,
  },
  //存款
  {
    path: "/Depost",
    name: "Depost",
    component: Depost,
  },
  //月度账单
  {
    path: "/MonthlyStatement",
    name: "MonthlyStatement",
    component: MonthlyStatement,
  },
  // 基金定投
  {
    path: "/invest",
    name: "invest",
    component: Invest,
  },
  //基金搜索
  {
    path:"/FundSearch",
    name:"FundSearch",
    component:FundSearch,
  },
   // 登录
   {
    path: "/enroll",
    name: "enroll",
    component: Enroll,
  },
  // 登录
  {
    path: "/Management",
    name: "Management",
    component: Management,
  },
  // 绑定银行卡管理
  {
    path: "/Longin",
    name: "Longin",
    component: Longin,
  },
  // 未绑定银行卡
  {
    path: "/ManaNo",
    name: "ManaNo",
    component: ManaNo,
  },
   // 我的
   {
    path: "/My",
    name: "My",
    component: My,
  },
    // 转账结果
    {
      path: "/Operator",
      name: "Operator",
      component: Operator,
    },
    // 修改密码
    {
      path: "/Password",
      name: "Password",
      component: Password,
    },
  //转账
  {
    path: "/Transfer",
    name: "Transfer",
    component: Transfer,
  },
  //首发基金
  {
    path: "/vieww",
    name: "vieww",
    component: vieww,
  },
  //操作成功
  {
    path: "/win",
    name: "win",
    component: win,
  },
  //确认信息
  {
    path: "/Transfer1",
    name: "Transfer1",
    component: Transfer1,
  },
  //手机号转账
  {
    path: "/Transfer2",
    name: "Transfer2",
    component: Transfer2,
  },
  //优选基金
  {
    path: "/Transfer3",
    name: "Transfer3",
    component: Transfer3,
  },
   //手机充值
   {
    path: "/TransferA",
    name: "TransferA",
    component: TransferA,
  },
   //修改登录密码
   {
    path: "/ResetLogin",
    name: "ResetLogin",
    component: ResetLogin,
  },
   //重置登录密码
   {
    path: "/Reset",
    name: "Reset",
    component: Reset,
  },
  // 理财产品
  {
    path: "/products",
    name: "products",
    component: products,
  },
  // 排行榜
  {
    path: "/ranking",
    name: "ranking",
    component: ranking,
  },
  // 手机充话费
  {
    path: "/recharge",
    name: "recharge",
    component: recharge,
  },
  // 充话费支付
  {
    path: "/Recharge1",
    name: "Recharge1",
    component: Recharge1,
  },
  // 筛选
  {
    path: "/Refer",
    name: "Refer",
    component: Refer,
  },
  // 注册2
  {
    path: "/Register",
    name: "Register",
    component: Register,
  },
  // 注册1
  {
    path: "/Register1",
    name: "Register1",
    component: Register1,
  },
  // 借记卡详情
  {
    path:"/Debitcarddetails",
    name:"Debitcarddetails",
    component:Debitcarddetails
  },
  // 借记卡挂失
  {
    path:"/ReportLoss",
    name:"ReportLoss",
    component:ReportLoss
  },
  // 销户
  {
    path:"/CancellationY",
    name:"CancellationY",
    component:CancellationY
  },
  // 挂失成功
  {
    path:"/ReportOk",
    name:"ReportOk",
    component:ReportOk
  },
  // 销户成功
  {
    path:"/Closing",
    name:"Closing",
    component:Closing

  },
  // 我的基金 MyFund
  {
    path: "/MyFund",
    name: "MyFund",
    component: MyFund,
  },
  // 我的基金-交易详情 TradingParticulars
  {
    path: "/TradingParticulars",
    name: "TradingParticulars",
    component: TradingParticulars,
  },
  //信息中心
  {
    path: "/Message",
    name: "Message",
    component: Message,
  },
   //扫一扫
   {
    path: "/RichScan",
    name: "RichScan",
    component: RichScan,
  },
  //网点服务
  {
    path: "/Branch",
    name: "Branch",
    component: Branch,
  },


   //银行卡管理
   {
    path: "/Detailpage",
    name: "Detailpage",
    component: Detailpage,
  },
  //持仓收益
  {
    path: "/earnings",
    name: "earnings",
    component: earnings,
  },
  //基金详情
  {
    path: "/funddetails",
    name: "funddetails",
    component:funddetails,
  },
  //基金
  {
    path: "/fund",
    name: "fund",
    component:fund,
  },
  //首页
  {
    path: "/homepage",
    name: "homepage",
    component:homepage,
  },
  //定活互转
  {
    path: "/interrevolution",
    name: "interrevolution",
    component:interrevolution,
  },
  //活期转定期1
  {
    path: "/interrevolution1",
    name: "interrevolution1",
    component:interrevolution1,
  },
   //活期转定期2
   {
    path: "/interrevolution2",
    name: "interrevolution2",
    component:interrevolution2,
  },
  //明细查询
  {
    path: "/detail",
    name: "detail",
    component: detail,
  },
  //小额免密支付
  {
    path: "/mianmi",
    name: "mianmi",
    component: mianmi,
  },
  // 我的定投
  {
    path: "/MyAutomatic",
    name: "MyAutomatic",
    component: MyAutomatic,
  },
  //明细查询2
  {
    path: "/particulars",
    name: "particulars",
    component: particulars,
  },
  // 普通定投 OrdinaryInvestment
  {
    path: "/OrdinaryInvestment",
    name: "OrdinaryInvestment",
    component: OrdinaryInvestment,
  },
  
  //网点查询
  {
    path: "/Condition",
    name: "Condition",
    component: Condition,
  },
  
  // {
  //   path: "/about",
  //   name: "about",
  //   // route level code-splitting
  //   // this generates a separate chunk (about.[hash].js) for this route
  //   // which is lazy-loaded when the route is visited.
  //   // component: () =>
  //   //   import(/* webpackChunkName: "about" */ "../views/HomeView.vue"),
  //   component: () =>
  //     import(/* webpackChunkName: "about" */ "../views/HomeView.vue"),
  // }
];

const router = new VueRouter({
  mode: "history",
  base: process.env.BASE_URL,
  routes,
});

export default router;
